package com.pianzhu.blockchainemr.mapper;

import com.pianzhu.blockchainemr.pojo.EmrDeptDict;
import com.pianzhu.blockchainemr.pojo.EmrHospital;
import com.pianzhu.blockchainemr.pojo.EmrPatMaster;
import com.pianzhu.blockchainemr.pojo.Param.EnrollParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EnrollMapper {

    List<EmrHospital> getHospitalList();

    void insertDoctor(EnrollParam enrollParam);

    void insertPatient(EnrollParam enrollParam);

    List<EmrDeptDict> getDeptList();

    void insertPatMaster(EmrPatMaster emrPatMaster);

    Integer selectIdByUsername(String namePhonetic);
}
